package com.shy.mapper;

import com.shy.entity.Role;

import java.util.Set;

/**
* @author sunhuanyu
* @description 针对表【t_role(角色表)】的数据库操作Mapper
* @createDate 2024-12-09 11:57:17
* @Entity com.shy.entity.Role
*/
public interface RoleMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    Set<String> selectRoleByUserId(Integer id);
}
